//
//  ZTTimeOut.m
//  MQTTNetworkTools
//
//  Created by Yahaong on 16/8/3.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import "ZTTimeOut.h"

@implementation ZTTimeOut

- (instancetype)init
{
    self = [super init];
    if (self) {
        _timeout = nil;
    }
    return self;
}

- (void)dealloc
{
    if (_timeout != nil) {
        [_timeout invalidate];
        _timeout = nil;
    }
}
- (void) willRemove{
    
    if (_timeout != nil) {
        [self timeout];
        [_timeout invalidate];
        _timeout = nil;
    }
    
}
- (void) timeout{};
@end
